package cn.xinfei.xdecision.common.model.common.requestParam;

import cn.xinfei.xdecision.common.model.common.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 组件规则code req
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AssemblyRuleCodeReq extends PageDto {

    @ApiModelProperty("组件规则code")
    @NotEmpty(message = "组件规则code不允许为空")
    private String ruleCode;

    @ApiModelProperty("组件规则codes")
    private List<String> ruleCodes;

    @ApiModelProperty("组件规则codes")
    private List<String> varCodes;
}
